package com.j180.order.bean;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单详细类
 */
public class OrderBean implements Serializable {
    /**
     * 编号
     */
    private Integer id;
    /**
     * 订单对象
     */
    private CustomerBean customerBean;
    /**
     * 商品列表
     */
    private List<OrderDetailBean> orderDetailBeanList;

    /**
     * 下单时间
     */
    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public CustomerBean getCustomerBean() {
        return customerBean;
    }

    public void setCustomerBean(CustomerBean customerBean) {
        this.customerBean = customerBean;
    }

    public List<OrderDetailBean> getOrderDetailBeanList() {
        return orderDetailBeanList;
    }

    public void setOrderDetailBeanList(List<OrderDetailBean> orderDetailBeanList) {
        this.orderDetailBeanList = orderDetailBeanList;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "OrderBean{" +
                "id=" + id +
                ", customerBean=" + customerBean +
                ", orderDetailBeanList=" + orderDetailBeanList +
                ", createTime=" + createTime +
                '}';
    }
}
